package com.ruoyi.gwc.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.gwc.domain.TApprovalRepair;
import com.ruoyi.gwc.domain.TRepairManagement;

/**
 * 维修管理Service接口
 * 
 * @author wp
 * @date 2024-12-13
 */
public interface ITRepairManagementService extends IService<TRepairManagement>
{
    /**
     * 查询维修管理
     * 
     * @param repairId 维修管理主键
     * @return 维修管理
     */
    public TRepairManagement selectTRepairManagementByRepairId(Long repairId);

    /**
     * 查询维修管理列表
     * 
     * @param tRepairManagement 维修管理
     * @return 维修管理集合
     */
    public List<TRepairManagement> selectTRepairManagementList(TRepairManagement tRepairManagement);
    public List<TRepairManagement> getApprovalRepairList(TApprovalRepair approvalRepair);
    /**
     * 新增维修管理
     * 
     * @param tRepairManagement 维修管理
     * @return 结果
     */
    public int insertTRepairManagement(TRepairManagement tRepairManagement);

    /**
     * 修改维修管理
     * 
     * @param tRepairManagement 维修管理
     * @return 结果
     */
    public int updateTRepairManagement(TRepairManagement tRepairManagement);

    /**
     * 批量删除维修管理
     * 
     * @param repairIds 需要删除的维修管理主键集合
     * @return 结果
     */
    public int deleteTRepairManagementByRepairIds(Long[] repairIds);

    /**
     * 删除维修管理信息
     * 
     * @param repairId 维修管理主键
     * @return 结果
     */
    public int deleteTRepairManagementByRepairId(Long repairId);
}
